package com.ywl.demo.form;

import com.ywl.mvcframework.actionform.ActionForm;
import com.ywl.mvcframework.annocation.YwlActionForm;

/**
 * 登录ActionForm用于收集页面参数
 * @author wl.yang
 *
 */
@YwlActionForm("loginActionForm")
public class LoginActionForm extends ActionForm{

	private String id;
	private String name;
	private int age;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	
	@Override
	public String toString() {
		String str = "id:"+this.id+" name:"+name + " age:"+age;
		return str;
	}
}
